{% extends "base_settings.html" %}
{% load i18n %}
{% block content %}
<form action="" method="post" name="user_form" id="user_form">
{% if anonymous %}
<div class="setting_intro">{% trans "You cannot change your profile, if you are an anonymous user." %}</div>
{% else %}
<div class="setting_intro">{% trans "Setup your profile" %}:</div>
<table id="usertable" class="settingstable">
{{ profile_form }}
</table>
<div class="buttons"><input type="submit" name="submit_action" value="{% trans "Save" %}"></div>
<hr>
<div class="setting_intro">{% trans "Change your password" %}:</div>
<table id="passwordtable" class="settingstable">
{{ password_form }}
</table>
<div class="buttons"><input type="submit" name="submit_action" value="{% trans "Set password" %}"></div>
{% endif %}
</form>
{% endblock content %}
